home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_1199 / 1103 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.2 KB

  1. Date: Sat, 26 Feb 1994 23:35:41 -0500
  2. From: "Nicholas S Castellano" <entropy@terminator.rs.itd.umich.edu>
  3. To: mint@terminator.rs.itd.umich.edu
  4. Subject: psigintr fix
  5.  
  6. dossig.c, intr.spp: ++entropy@terminator.rs.itd.umich.edu
  7.     Fix Howard's p_sigintr code so it compiles on a 68000.
  8.  
  9.  
  10. --- 1.10.1.1    1994/02/26 13:15:32
  11. +++ dossig.c    1994/02/26 13:18:04
  12. @@ -241,8 +241,9 @@
  13.      vec2 = (long) new_intr;
  14.  
  15.  #ifndef ONLY030
  16. -    if (mcpu == 0)            /* put vector number in high */
  17. -        vec2 |= vec << 24;    /* byte of vector address */
  18. +    if (mcpu == 0)            
  19. +        /* put vector number in high byte of vector address */
  20. +        vec2 |= ((long) vec) << 24;
  21.  #endif
  22.      new = kmalloc(sizeof(usig));
  23.      if (!new)            /* hope this never happens...! */
  24. --- 1.10.1.4    1994/02/26 06:55:26
  25. +++ intr.spp    1994/02/26 07:27:30
  26. @@ -253,7 +253,7 @@
  27.      movem.l    d0-d2/a0-a2,-(sp)    ; save regs
  28.  
  29.  %ifndef ONLY030
  30. -    tst.w    ($59e.w)    ; is frame format on stack?
  31. +    tst.w    ($59e).w    ; is frame format on stack?
  32.      bne.s    nvec        ; yes, go use it
  33.      bsr.s    ndummy        ; push PC to stack
  34.      nop
  35.  
  36. --
  37. entropy -- it's not just a good idea, it's the second law.
  38. Personal mail:      entropy@gnu.ai.mit.edu
  39. MiNT library mail:  entropy@terminator.rs.itd.umich.edu
  40. "what do you have against octal?" -jrb
  41.  
  42.